package com.sikaryofficial.backend.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.sikaryofficial.backend.domain.entity.Activity;
import com.sikaryofficial.backend.domain.vo.export.WinnerExportVO;
import com.sikaryofficial.backend.mapper.ActivityMapper;
import com.sikaryofficial.backend.service.IActivityService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * 活动Service业务层处理
 *
 * @author qinjinyuan
 * @date 2023-10-27
 */
@Service
public class ActivityServiceImpl extends ServiceImpl<ActivityMapper, Activity> implements IActivityService {
    @Autowired
    private ActivityMapper activityMapper;

    @Override
    public List<WinnerExportVO> winnerExport(Long activityId) {
        return activityMapper.winnerExport(activityId);
    }
}
